package runesim.testing;
import bsh.*;
import runesim.node.model.Point;
public class BSHTest {
	
			public static void main(String[] args){
				try {
					Interpreter i = new Interpreter();
					i.source("test.resc");
					
					Object[] objs = new Object[] {5, new String("hello"), Point.location(3232, 3232)};
					i.getNameSpace().invokeMethod("dosomething", objs, i);
				} catch(Exception e){
					e.printStackTrace();
				}
			}
}